let WayInfo = {
    col: 5,
    row: 5,
}

let Arms = cc.Enum({
    MachineGun: 0,   // 机枪
    Pistol: 1,       // 手枪
    Bow: 2,          // 弓箭
    Sword: 3,        // 宝剑
})

// TeamOrder 是 53124 就是user部分的队列
let TeamOrder = [5, 3, 1, 2, 4]

let PASS_UP_LV = 25

// 获取Buff类型
let GetBuffType = cc.Enum({
    INDEX: 1,
    UID: 2,
    KEY: 3,
    KAU: 4,  // key & uid
})

let CollisionTag = cc.Enum({
    WAY: 1,    // 道路碰撞标识
    BULLET: 10,  // 子弹的碰撞标识

    MONSTER: 100,  // 移动单位碰撞标识
    BOSS: 101,      // boss单位碰撞

    WALL: 1000, // 墙碰撞。碰到之后减血
})

let GameModel = cc.Enum({
    ClearPass: 1,    // 清除
})

// 成长属性
let GrowAttr = cc.Enum({
    AttackSpeed: 1,    // 攻击速度
    Crit: 2,          // 暴击
    Hp: 3,              // 生命值
    Power: 4,           // 攻击力

    DOT_Buff: 5,        // 火焰Buff
    Slow_Buff: 6,        // 减速Buff
    Repel_Buff: 7,       // 击退Buff
    SUPER_Repel_Buff: 8, // 超级击退Buff
})

let BASE_HP = 1000              // 基础生命值
let CONTROL_INCREASE = 4        // 玩家操控后提升倍数
let DT_ADD_MONSTER = 0.1        // 缓慢添加怪物，减少怪物   
let BULLET_SPEED = 60           // 默认每秒     
let DEL_BULLET_TIME = 5         // 子弹消失
let SKILL_NUM = 5               // 技能数量
let MAX_SPEED = 1000            // 最高速度
let DEFAULT_ATTACKSPEED = 100   // 默认攻击速度
let MIN_ATTACKSPEED = 1000       // 最小攻击速度
let LR_RANDOM_SPACE = 10        // 怪物的左右随机最大值
let GROW_HP = 100               // 成长血条
let GACHATIME = 2 * 60 * 60 * 1000       //抽蛋冷却时间4*60*60*1000  
let GACHALEVEL = [1, 2, 1, 1, 2, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5]    //15个箱子的等级
let GACHATIMEGRP = [2, 3, 5, 7, 10, 13, 17, 21, 17, 13, 10, 7, 5, 3, 2]   //15个箱子的领取时间2, 3, 5, 7, 10, 13, 17, 21, 17, 13, 10, 7, 5, 3, 2

let FIGHT_END = cc.Enum({
    CARD: 9,
    KEY: 3
})

export { WayInfo, BASE_HP, Arms, TeamOrder, GetBuffType, CollisionTag, CONTROL_INCREASE, DT_ADD_MONSTER, GameModel, BULLET_SPEED, DEL_BULLET_TIME, SKILL_NUM, MAX_SPEED, GrowAttr, FIGHT_END, LR_RANDOM_SPACE, PASS_UP_LV, GROW_HP, GACHATIME, DEFAULT_ATTACKSPEED, MIN_ATTACKSPEED, GACHALEVEL, GACHATIMEGRP }
